<script src="Scripts\jquery-1.10.2.js"></script>
<script src="Scripts\knockout-2.2.0.js"></script>



<button data-bind="click: myFunction">click</button>
<button data-bind="click: function(data, event) { myFunction('param1', 'param2', data, event) }">
    Click me
</button>
<script type="text/javascript">
    var viewModel = {
        myFunction: function (parameter1, parameter2, parameter3, parameter4) {
		alert(parameter1);
		alert(parameter2);
		//alert(parameter3);
		//alert(parameter4);
        }
    };
    ko.applyBindings(viewModel);
</script>